package com.woniuxy.hotel.user.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

public class Level implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;

    private BigDecimal rate;

    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    @Override
    public String toString() {
        return "Level{" +
                "id=" + id +
                ", rate=" + rate +
                ", name='" + name + '\'' +
                '}';
    }
}